cap program drop prog_addstar
program define prog_addstar, eclass
versio 16
syntax, B(real) SE(real) N(integer)

	local t = `b'/`se'
		
	local star = ""	
	if abs(`t') > invttail(`n', 0.05) {
		local star = "*"
	}
	if abs(`t') > invttail(`n', 0.025) {
		local star = "**"
	}
	if abs(`t') > invttail(`n', 0.005) {
		local star = "***"
	}
	
ereturn local star = "`star'"

end